﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.View
{
    public class VPackageInstanceItemChangedRecord
    {
        #region entity
        public Guid Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public Guid BillId { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int BillType { get; set; }

        /// <summary>
        /// 套餐实例Id
        /// </summary>
        public Guid PackageInstanceId { get; set; }

        /// <summary>
        /// 套餐实例项Id
        /// </summary>
        public Guid PackageInstanceItemId { get; set; }

        /// <summary>
        /// 服务商Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid StationId { get; set; }

        /// <summary>
        /// 变更数量
        /// </summary>
        public decimal Count { get; set; }

        /// <summary>
        /// 剩余数量
        /// </summary>
        public decimal RemainingCount { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        #endregion

        public string PackageName { get; set; }
        public string PackageItemName { get; set; }
        public string StationName { get; set; }
        public string BusinessName { get; set; }

        public string CustomerName { get; set; }
        public Guid CustomerId { get; set; }

        public string CustomerTelephone { get; set; }
    }
}
